FROM swr.cn-north-1.myhuaweicloud.com/xc-prod/base-openjdk:8-xc-base-ffmpeg-4.1.3
ENV JOB ck-ips.jar
ENV PORT 9001
ENV ACTIVE dev
ENV LOG_PREFIX=ck-ips
ENV LOG_HOME=/data/logs/$LOG_PREFIX
RUN mkdir -p /data/tmpupload/
ADD ./target/$JOB /data/app.jar
ADD ./run.sh /data
WORKDIR /data
ENTRYPOINT sh /data/run.sh
